PDF4Java Reference Documentation
com.o2sol.pdf4java.core.cos Package / PDFCosArray Class / indexOf Method
The object to locate in the array.
In This Topic
    indexOf Method
    In This Topic
    Searches for the specified object and returns the zero-based index of the first occurrence within the entire array.
    Syntax
    public int indexOf( 
       PDFCosObject obj
    )

    Parameters

    obj
    The object to locate in the array.

    Return Value

    The zero-based index of the first occurrence of item within the entire array, if found; otherwise, –1.
    See Also